home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
PPC1B3AA.ZIP
/
WHILE.PPS
< prev
Wrap
Text File
|
1996-07-28
|
321b
|
23 lines
;
; This example illustrates the different uses of the While statement
;
Int A, B
; Simple While statement
A = 0
While (A < 10) Inc A
; Complex while statement
A = 0
While (A < 10) Do
Print A
Inc A
EndWhile
; Chained simple While statements
A = 0
While (A <> 0) While (B <> 0) Inc B